package com.tedu.webDemo.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

//组件：由框架管理的类
@Component//component是组件，
//@controller,@restControler,@service都是组件
//@controller,@restController是专门用来接收数据，
//@service类是专门处理数据的,是业务层的类
@Scope("singleton")
//单例，服务器启动时创建，关闭时被回收
public class AccessCount {

}
